package com.zhidisoft.admin.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zhidisoft.admin.service.IArticleService;
import com.zhidisoft.admin.service.IArticleTypeService;

@Controller
@RequestMapping("/admin")
public class IndexController {

	@Autowired
	IArticleTypeService articleTypeService;
	@Autowired
	IArticleService articleService;
	@GetMapping("index")
	public String index(){
		return "article/index.html";
	}
}
